package cn.agiledata.bank.myspace.service;

import java.util.List;

import cn.agiledata.bank.hibernateBean.Account;

public interface MessageCustomService {

	/**
	 * 获取所有可定制消息
	 */
	public List findAllMessageCustoms();
	
	/**
	 * 保存用户消息定制设置
	 * @throws Exception 
	 */
	public Account saveAllMessageCustoms(String[] emails,String[] mobiles,Account account);
	
	/**
	 * 是否发送email
	 * @param account
	 * @param type
	 * @return
	 */
	public boolean ifSendMail(Account account, String type);
	
	/**
	 * 是否发送短信
	 * @param account
	 * @param type
	 * @return
	 */
	public boolean ifSendMobile(Account account, String type);
}